package org.zebra.tenant.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

/**
 * @author zhanghongbin
 */
@Data
@ConfigurationProperties(prefix = "zebra.tenant")
public class TenantProperties {

    /**
     * 是否启用
     */
    private Boolean enabled = true;

    /**
     * 排除表
     */
    private List<String> excludes = new ArrayList<>();
    /**
     * String,Integer
     */
    private String idType = "String";

    private boolean whereHasTenantId = true;
}
